package dao;

import java.util.List;

import domain.Admin;

public interface AdminDao {
	
	List<Admin> findAdminsByLikeName(String name,Integer pageSize, Integer pageNumber);
	
	Admin findAdminById(Integer id);
	
	Long countAllAdmins();
	
	Admin addAdmin(Admin admin);
	
	void deleteAdminById(Integer id);
	
	Admin updateAdmin(Admin admin);
}
